package taro.todolist.service;

import taro.todolist.dao.Member;

import java.util.List;

public interface MemberService {

    Member addNewMember(Member member);

    void purgeMemberById(Long id);

    void deleteMemberById(Long id);

    void recoverMemberById(Long id);

    Member updateMemberById(Long OldId, Member NewMemberInfo);

    Member getMemberById(Long id);

    String getMemberAvatarPathById(Long id);

    List<Member> getAllMembers();

    boolean existById(Long id);
}
